package com.tiancheng.onecode.mapper;

import com.tiancheng.onecode.entity.PlatformMerchantUser;
import com.tiancheng.onecode.model.auth.UserMerchantProfile;
import com.tiancheng.onecode.model.dto.PlatformMerchantUserDetailDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: kellen
 * @Description: 商户管理员 mapper
 * @Date: create in 2024/12/9 18:11
 */
@Mapper
public interface PlatformMerchantUserMapper extends MYBaseMapper<PlatformMerchantUser> {
    List<UserMerchantProfile> queryByUserId(String userId);

    /**
     * 查询商户超级管理员明细信息
     * @param platformMerchantId
     * @return
     */
    PlatformMerchantUserDetailDTO queryPlatformMerchantSuperAdmin(Long platformMerchantId);
}
